from django import template

register = template.Library()

@register.filter(name='mycut')
def cut(value, arg):
    return value.replace(arg, "T", 2)
